

        <g:set var="entityName" value="${message(code: 'leader.label', default: 'Leader')}" />
             <g:form action="save" method="post" >
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="username"><g:message code="leader.username.label" default="Username" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: leaderInstance, field: 'username', 'errors')}">
                                    <g:textField name="username" maxlength="100" value="${leaderInstance?.username}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="passwd"><g:message code="leader.passwd.label" default="Passwd" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: leaderInstance, field: 'passwd', 'errors')}">
                                    <g:textField name="passwd" value="${leaderInstance?.passwd}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="area"><g:message code="leader.area.label" default="Area" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: leaderInstance, field: 'area', 'errors')}">
                                    <g:textField name="area" value="${leaderInstance?.area}" />
                                </td>
                            </tr>
                         
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>
            </g:form>